import httpRequest from "@/api/apiConfig.js"
/**
 * @name Get请求
 * @description: 
 * @param {url:String} 接口地址
 * @param {config:Object} 接口配置
 * @return 
 */
export const ajaxGet = (url, config) => {
	return httpRequest.get(url, config)
}

/**
 * @name Post请求
 * @description: 
 * @param {url:String} 接口地址
 * @param {data:Object} 接口参数
 * @param {config:Object} 接口配置
 * @return 
 */
export const ajaxPost = (url, data, config) => {
	return httpRequest.post(url, data, config)
}
